package com.wufan.day07.java3;

/**
 * @author SongWufan
 * @date 2022/1/20 20:13
 */
public class Person {
    String name;
    int age;
    /**
     * 身份证号
     */
    int id = 1001;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person() {
        System.out.println("人无处不在");
    }

    public void eat() {
        System.out.println("人：吃饭");
    }

    public void walk() {
        System.out.println("人：走路");
    }
}
